#pragma once

#include <Ogre.h>
#include "LuaLink_SceneManager.h"

class LuaLink_Entity
{
public:
	Ogre::Entity* mEntity;

	LuaLink_Entity(const char* name, const char* mesh);
	virtual ~LuaLink_Entity(void);

	unsigned int lua_getAnimationCount();
	const char* lua_getAnimationName(unsigned int idx);
	void lua_animation(const char* name, bool enabled, bool loop);
	void lua_animate(const char* name, Ogre::Real amount);
	float lua_getAnimationLength(const char* name);
	void lua_setAnimationTime(const char* name, float time);
	float lua_getAnimationTime(const char* name);
};
